<template>
  <div>
    <List @changehande="changehande"/>
    <h5>{{ count }}</h5>
    <h1>我是爸爸</h1>
  </div>
</template>

<script>
import List from "@/components/List";
export default {
  name: "App",
  data() {
    return {
      count: 0,
    };
  },
  methods:{
    changehande(count){
      this.count = count
    }
  },
  components: {
    List,
  },
};
</script>

<style>
</style>